/**
 * 
 */
package org.lightcommons.tasks;


/**
 * @author GL
 * 
 * @since 2008-1-9
 */
public interface ChainTask {
	
	boolean CHAIN=true;
	boolean STOP_CHAIN=false;
	
	/**
	 * @return true -> chain next ; false -> won't
	 * @throws Exception 
	 */
	boolean chain() throws Exception;
	
	/**
	 *
	 */
	void after();
}
